package com.pitaya.avatar.service.impl;

public class POIDistance extends Distance{

	public POIDistance(Node from, Node to) {
		super(from, to);
	}
	
	@Override
	protected double computeMetric(){
		return ClusterService.getDistance(this.startNode.getXValue(), this.startNode.getYValue(),
				this.endNode.getXValue(), this.endNode.getYValue());
	}
	
}
